//--------------------------------------------------------------------------------------------
//    : 
//      Component name  : fpinvert
//      Author          : 
//      Company         : 
//
//      Description     : 
//
//
//--------------------------------------------------------------------------------------------


module FPinvert(A_in, B_in, invert_A, invert_B, A_out, B_out);
   parameter          width = 29;
   input [width-1:0]  A_in;
   input [width-1:0]  B_in;
   input              invert_A;
   input              invert_B;
   output [width-1:0] A_out;
   output [width-1:0] B_out;
   
   
   assign A_out = ((invert_A == 1'b1)) ? ((~A_in)) : 
                  A_in;
   
   assign B_out = ((invert_B == 1'b1)) ? ((~B_in)) : 
                  B_in;
   
endmodule
